/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package treeship.core.ship.space;

/**
 *
 * @author moonchild
 */
public abstract class Position {

    public abstract Distance distanceFrom(Position x);

    public abstract double getX();

    public abstract double getY();

    public abstract double getZ();

    public abstract Position goFromPositionWithSpeed(Position position, Speed speed);

    @Override
    public String toString() {
        return "x: " + getX() + "y: " + getY() + "z: " + getZ();
    }
}
